﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProdutcDetail.ascx.cs" Inherits="Controls_ProdutcDetail" %>
  
 <div class="contentContainer page_un">
<asp:DataList ID="datalistDetail" runat="server">
    <ItemTemplate>
   
      <div class="contentPadd">
	    <div class="prods_content prods_info decks">
		    <div class="forecastle">
		    <ol class="masthead">
			      <li class="port_side">
                    <div id="piGal">
                        <div class="outer">
                        <ul style="display: block; height: 270px; width: 229px;">   
                            <li style="position: absolute; display: block;" class="wrapper_pic_div">
			                           <div class="wrapper_pic_t">
				                           <div class="wrapper_pic_r">
					                           <div class="wrapper_pic_b">
						                           <div class="wrapper_pic_l">
							                           <div class="wrapper_pic_tl">
								                           <div class="wrapper_pic_tr">
								                            <div class="wrapper_pic_bl">
									                            <div class="wrapper_pic_br" style="width: 229px; height: 270px;">
									                                <asp:Image ID="Image2" ImageUrl='<%# "~/Images/Product/"+ Eval("Pro_Image") %>' runat="server" Width="229" Height= "270" />
									                            </div>										                        
								                            </div>
								                           </div>
							                           </div>
						                           </div>
					                           </div>  
				                           </div>
			                           </div>
			                    </li>    
                            </ul>
                        </div>
                    </div>
                  </li>
			      <li class="starboard_side">
                    <div class="info2">
                            <h2><%# Eval("Pro_Name") %><br><span class="smallText"><p><%# Eval("Pro_Intro")%></span></h2>
                            <h2 class="price"><b>Giá:&nbsp;&nbsp;</b><span class="productSpecialPrice">$<%# Eval("Pro_Price") %></span></h2>        
                            <div class="desc desc_padd">
                                    <p><%# Eval("Pro_Content") %></p>
                                </div>
                                <div class="buttonSet">
                                    <span class="buttonAction">
                                        <div class="bg_button22" onmouseout="this.className='bg_button22';" onmouseover="this.className='bg_button22-act';">
                                            <div class="button-t">
                                                <span class=""><a role="button" href="/DoAnWeb/Default.aspx" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary" id="tdb1" href="">
                                                    <span class="ui-button-icon-primary ui-icon ui-icon-comment"></span>
                                                    <span class="ui-button-text">Quay lại</span></a>
                                                </span>
                                            </div>
                                        </div>                              
                                    </span>    
                                    <div class="fl_right" align="right">
                                        <div class="bg_button2" onmouseout="this.className='bg_button2';" onmouseover="this.className='bg_button2-act';"><input name="products_id" value="35" type="hidden">
                                            <div class="button-t">
                                                <span class="">
                                                    <div class=button-t>
                                                    <% if (Session["User_ID"] != null)
                                                       { %>
                                                    <A class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary" id=A4 href="Basket.aspx?Cate_ID=<%#Eval("Cate_ID") %>&Product_ID=<%# Eval("Pro_ID") %>" role="button"><SPAN class="ui-button-icon-primary ui-icon ui-icon-cart"></SPAN><SPAN class=ui-button-text>Thêm&nbsp;Vào&nbsp;Giỏ</SPAN></A></div>
                                                    <%} %>
                                                </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>          
                            </div> 
                        </li>
		            </ol>
		        </div>	
	        </div>    
        </div>
</ItemTemplate>
</asp:DataList>
<div style="border-top:1px solid #D4D4D4; "><h3>Nội dung comment:</h3></div>
<asp:DataList ID="dtlComments" runat="server">
    <ItemTemplate>
        <table>
            <tr>
                <td colspan="3" style="width: 443px">
                    &nbsp;<img src="images/tick_32.png" style="width: 18px; height: 15px;font-size:11px" />
                    <asp:Label ID="Com_ContentLabel" runat="server" Text='<%# Eval("Com_Title") %>'></asp:Label></td>
            </tr>
            <tr>
                <td colspan="3" style="width: 443px; height: 21px;font-size:11px">
                    <asp:Label ID="Com_EmailLabel" runat="server" Text='<%# Eval("Com_Desc") %>'></asp:Label>&nbsp;
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>

    <div style="width: 50%;  border-left: 0px solid rgb(229, 229, 229);">
                <h3 class="first_h3">Ý kiến của bạn</h3>
                <div class="contentInfoText marg-bottom marg-top" style="position: relative; height: 180px;">
                    <form id="comment" runat="server" >  
                    
                    
                       <table style="width: 95%; height: 1px">
                            <tr>
                                 <td class="fieldKey"><div class="crosspiece100"></div>Tiêu đề:</td>
                                <td class="fieldValue" width="100%"><asp:TextBox ID="txtTitle" runat="server" ></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="fieldKey">Nội dung : </td>
                                <td class="fieldValue">
                                <asp:TextBox ID="TextAreaContent" runat="server" TextMode="MultiLine" Width="200px" Height="100px"></asp:TextBox>
                            </tr>
                            
                            <tr>
                                <td><asp:Button ID="btnSend" runat="server" Text="Gửi ý kiến" onclick="btnSend_Click" Width="100px" /></td>
                            </tr>
                        </table>
                        
                    </form>
                </div>
            </div>
            </div>